package expertisenetwork;

public class Link {
	
	private int toUser;
	private Expertise expertise;
	
	public Link(int toUser, Expertise expertise){
		this.toUser = toUser;
		this.expertise = expertise;
	}
	
	public double getWeight(){
		return expertise.getWeight();
	}
	
	public int getNOfAnswers(){
		return expertise.getNOfAnswers();
	}
	
	public int getToUser(){
		return toUser;
	}

}
